//
// Created by 相开原 on 2022/3/23.
//

#ifndef I_SHOP_ACCOUNT_H
#define I_SHOP_ACCOUNT_H

#include <stdio.h>
#include <string.h>
#include <stdbool.h>

#include "MD5.h"
#include "utility.h"
#include "typedef.h"
#include "data.h"
#include "print.h"

void userManager();

bool user_register(char);

account *user_login();

void user_modify(account *target);

account *account_find(account *head, char *username);

char *get_userType(account *p);

extern account *head_user, *head_VIP;

#endif //I_SHOP_ACCOUNT_H
